package com.zhxt.system.domain;

import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 凌烟阁内容列表
 * @author zhxt
 */
@Getter
@Setter
public class ZhxtContribute {
    //自增主键
    private int id;
    //姓名
    private String name;
    //机构
    private String tjname;
    //岗位
    private String gwname;
    //时间
    private String yearmon;
    //贡献描述
    private String desc;
    //图片地址
    private String imgurl;
    //排序
    private int sort;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("tjname", getTjname())
                .append("gwname", getGwname())
                .append("yearmon", getYearmon())
                .append("desc", getDesc())
                .append("imgurl", getImgurl())
                .append("sort", getSort())
                .toString();
    }
}
